//------------------------------------------------------------------------------
// <copyright file="FindInDiagramForm.cs" company="Microsoft">
//     Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------

using System;
using System.Drawing;
using System.Diagnostics;
using System.Windows.Forms.Design;
using Microsoft.VisualStudio.Modeling.Shell;
using ModelingAddIns;

namespace ModelingAddIns
{
	internal partial class FindInDiagramForm : DialogBase
	{
		internal FindInDiagramForm(ITypedServiceProvider serviceProvider) : base(serviceProvider)
		{
			InitializeComponent();
		}

		protected override void OnActivated(EventArgs e)
		{
			findText.SelectAll();
			findText.Focus();
		}
	}
}
